unit U_fm_pesq_un;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls,
  Vcl.StdCtrls, Vcl.Buttons;

type
  Tfm_pesq_un = class(TForm)
    Panel1: TPanel;
    DBGrid1: TDBGrid;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fm_pesq_un: Tfm_pesq_un;

implementation

{$R *.dfm}

uses U_dm_principal;

procedure Tfm_pesq_un.FormShow(Sender: TObject);
begin
dm_principal.cds_unidade.Open;
end;

end.
